<template>
	<view class="promotion">
		<view class="">
			<view class="stup">
				<!-- 保留 -->
				<block class="" v-if="bannerList.length==2">
					<view :class="[type==2&&bannerList[0].isOk?'baoliu1':''] ">
					</view>
					<view :class="[type==2&&bannerList[1].isOk?'baoliu1_1':''] ">
					</view>
				</block>
				<block class="" v-else>
					<view
						:class="[type==0&&resData.idCardStatus==2?'stupActive1':'',type==1&&content.studyFlag?'stupActive2':'',type==2&&content.ensureAccount>0?'stupActive3':''] ">
					</view>
					<view
						:class="[type==0&&resData.noviceguide?'stupActive1_1':'',type==1&&content.frockFlag==1?'stupActive2_1':'',type==2&&bannerList[1].isOk?'stupActive3_1':''] ">
					</view>
					<view
						:class="[type==0&& (resData.userIdentity !== 0 || (resData.userIdentity == 0 && resData.stopCompleteCount > 2))  ?'stupActive1_2':'',type==1&& (resData.userIdentityStatus == 2 || (resData.userIdentityStatus == 1 && resData.stopCompleteCount > 4))?'stupActive2_2':'',type==2&&(bannerList.length!==2&& bannerList[2].isOk?'stupActive3_2':'')] ">
					</view>
					<view v-if="type==2" :class="[bannerList.length!==2&& bannerList[3].isOk?'stupActive3_3':''] ">
					</view>
				</block>
			</view>
			<view class="activeBg">
				<block class="" v-if="bannerList.length==2">
					<view
						:class="['active1',bannerList[0].isOk?'activeBaoliu1':'activeBaoliu1_1',bannerList.length==2&&(curCode==0 ?' zoom': ' ')]">
					</view>
					<view
						:class="['active1', bannerList[1].isOk?' activeBaoliu2_2 ':'activeBaoliu2' ,bannerList.length==2&&(curCode==1 ?' zoom': ' ')]">
					</view>
				</block>
				<block class="" v-else>
					<view
						:class="['active1', type==0&&(resData.idCardStatus==2?'activeLeft2':'activeLeft1'), type==0&&(curCode==0 ?' zoom': ' '),type==1&&(curCode==0 ?'zoom': ' ') , type==2&&(curCode==0 ?' zoom': ' ') ,type==1&&(content.studyFlag?'formalCenter2':'formalCenter1'),type==2&&(content.ensureAccount>0?'vipLeft2':'vipLeft1') ]">
					</view>
					<view
						:class="['active1', type==0&&(resData.noviceguide?'activeCenter2':'activeCenter1') ,type==0&&(curCode==1 ?' zoom': ' '),type==1&&(curCode==1 ?'zoom': ' '),type==2&&(curCode==1 ?'zoom': ' ') ,type==1&&(content.frockFlag==1?' formalLeft2': 'formalLeft1 ') ,type==2&&(bannerList[1].isOk?'vipXue2':'vipXue1') ]">
					</view>
					<view
						:class="['active1' ,type==0&&((resData.userIdentity !== 0 || (resData.userIdentity == 0 && bannerList[2].isOk))?'activeRight2':'activeRight1'),type==0&&(curCode==2 ?' zoom': ' '),type==1&&(curCode==2 ?' zoom': ' '),type==2&&(curCode==2 ?' zoom': ' '),type==1&&(((resData.userIdentityStatus == 1 && bannerList[2].isOk))?'formalRight2':'formalRight1'),type==2&&(curCode==2 ?' zoom': ' '),type==2&&(bannerList.length!==2&&bannerList[2].isOk?'vipLeJin2':'vipLeJin1')]">
					</view>
					<view v-if="type==2"
						:class="['active1' ,type==2&&bannerList.length!==2&&bannerList.length!==2&& bannerList[3].isOk?'vipRight2':'vipRight1',type==2&&(curCode==3 ?'zoom': ' ')]">
					</view>
				</block>
			</view>
			<view class="ban-cont">
				<swiper :style="{width: '690rpx',height:((bannerList.length==2)&&'398rpx')|| height,margin:' 0 auto'}"
					:indicator-dots="false" :current="curCode" :duration="swiperConfig.duration"
					:previous-margin="swiperConfig.previousMargin" :next-margin="swiperConfig.nextMargin"
					@change="swiperChange" @animationfinish="animationfinish">
					<swiper-item v-for="(item, i) in  bannerList" :key="i">
						<view class="image-container"
							:class="[curIndex===0?((i===listLen-1)?'item-left':(i===1?'item-right':'item-center')):(curIndex===listLen-1?(i===0?'item-right':(i===listLen-2?'item-left':'item-center')):(i===curIndex-1?'item-left':(i===curIndex+1?'item-right':'item-center')))]">
							<view class="slide-image" :style="{
			           transform: curIndex===i? 'scale(1,1)':'scale(1,0.7)' ,
			          transitionDuration: '.3s',
			          transitionTimingFunction: 'ease',
			        }">
								<!-- 金牌保留的进入 -->
								<view class="" v-if="bannerList.length==2">
									<view class="swiperText" style="height:298rpx" v-if="i==0">
										<view
											:style="{color:(type==0&&'#F5F5F5')||(type==1&&'#FED2AF')||(type==2&&'#DAA674')}">
											{{item.name}}
										</view>
										<!-- 订单 stopCompleteCount  needCompleteCount   工时 stopUserOrderCount   needUserOrderCount 雇主数 stopTaskUserId  needTaskUserId   评分 stopUserScore needUserScore -->
										<view class="more">
											<view id="pro">
												<view class="">
													<text>订单(无差评)</text>
													<view class="">
														<view v-if="content.userIdentityStatus==2"
															:style="{width:`${ 176/content.needCompleteCount*content.stopCompleteCount>176?176:(176/content.needCompleteCount*content.stopCompleteCount)}rpx`}">
														</view>
													</view>
													<text>{{ (content.userIdentityStatus==2&&content.stopCompleteCount ) ||0}}/{{(content.userIdentityStatus==2&&content.needCompleteCount)||0}}</text>
												</view>
												<view class="">
													<text>工时 </text>
													<view class="">
														<view v-if="content.userIdentityStatus==2"
															:style="{width: `${((176/content.needUserOrderCount)*content.stopUserOrderCount>176)?176:176/content.needUserOrderCount*content.stopUserOrderCount}rpx`}">
														</view>
													</view>
													<text>{{ (content.userIdentityStatus==2&& content.stopUserOrderCount)||0}}/{{ (content.userIdentityStatus==2 && content.needUserOrderCount)||0}}</text>
												</view>
												<view class="">
													<text>雇主数</text>
													<view class="">
														<view v-if="content.userIdentityStatus==2"
															:style="{width: `${176/content.needTaskUserId*content.stopTaskUserId>176?176:(176/content.needTaskUserId*content.stopTaskUserId)}rpx`}">
														</view>
													</view>
													<text>{{ (content.userIdentityStatus==2&& content.stopTaskUserId)||0}}/{{( content.userIdentityStatus==2&&content.needTaskUserId)||0}}</text>
												</view>
												<view class="">
													<text>评分</text>
													<view class="">
														<view v-if="content.userIdentityStatus==2"
															:style="{width:`${ 176/content.needUserScore*content.stopUserScore>176?176:176/content.needUserScore*content.stopUserScore}rpx`}">
														</view>
													</view>
													<text>{{ (content.userIdentityStatus==2&&content.stopUserScore)||0}}/{{(content.userIdentityStatus==2&& content.needUserScore)||0}}</text>
												</view>
											</view>
											<view :class="bannerList[0].isOk? 'status2':'status' " @click="navigatorto">
												{{ bannerList.length==2&&(bannerList[0].isOk?'已完成':' 去完成')}}
											</view>
										</view>
									</view>
									<view class="swiperText" v-if="i==1">
										<view
											:style="{color:(type==0&&'#F5F5F5')||(type==1&&'#FED2AF')||(type==2&&'#DAA674')}">
											{{item.name}}
										</view>
										<view>
											<view>
												<view class="img"
													:style="{'background':`url(${item.img}) center center/cover no-repeat`}">
												</view>
											</view>
											<view>
												<text>保留周期({{(30-dataTime)||0}}/30)</text>
												<view class="progress" v-if='content.userIdentityStatus==2'>
													<view class=""
														:style="{width:`${224/30 *((30-(dataTime||0)))}rpx`}">
													</view>
												</view>
											</view>
											<view v-if="type==2" :class="{btn3_1:type==2,  }">
												{{(item.isOk?'需等待':'需等待')}}
											</view>
										</view>
									</view>
								</view>
								<!-- 金牌晋升 和正式 试用 -->
								<view class="" v-else>
									<view class="swiperText" v-if="type==2&&i==3">
										<view
											:style="{color:(type==0&&'#F5F5F5')||(type==1&&'#FED2AF')||(type==2&&'#DAA674')}">
											{{item.name}}
										</view>
										<view>
											<view>
												<view class="img"
													:style="{'background':`url(${item.img}) center center/cover no-repeat`}">
												</view>
											</view>
											<view>
												<text>晋升周期({{(30-dataTime)||0}}/30)</text>
												<view class="progress" v-if='content.userIdentityStatus==2'>
													<view class=""
														:style="{width:`${(224/30 *((30-(dataTime||0))))}rpx`}">
													</view>
												</view>
											</view>
											<view v-if="type==2" :class="{btn3_1:type==2,  }">
												{{(item.isOk?'需等待':'需等待')}}
											</view>
										</view>
									</view>
									<view class="swiperText" v-else-if="type==2&&i==2" :style="{height:height2}">
										<view
											:style="{color:(type==0&&'#F5F5F5')||(type==1&&'#FED2AF')||(type==2&&'#DAA674')}">
											{{item.name}}
										</view>
										<!-- 订单 stopCompleteCount  needCompleteCount   工时 stopUserOrderCount   needUserOrderCount 雇主数 stopTaskUserId  needTaskUserId   评分 stopUserScore needUserScore -->
										<view class="more">
											<view id="pro">
												<view class="promax">
													<text>订单(无差评)</text>
													<view class="progress">
														<view v-if="content.userIdentityStatus==2"
															:style="{width:`${ 176/content.needCompleteCount*content.stopCompleteCount>176?176: 176/content.needCompleteCount*content.stopCompleteCount}rpx`}">
														</view>
													</view>
													<text>{{ (content.userIdentityStatus==2&&content.stopCompleteCount ) ||0}}/{{(content.userIdentityStatus==2&&content.needCompleteCount)||0}}</text>
												</view>
												<view class="promax">
													<text>工时</text>
													<view class="progress" style="transform:translateX(100rpx)">
														<view v-if="content.userIdentityStatus==2"
															:style="{width:`${176/content.needUserOrderCount*content.stopUserOrderCount>176?176:176/content.needUserOrderCount*content.stopUserOrderCount}rpx`}">
														</view>
													</view>
													<text
														style="transform:translateX(100rpx)">{{ (content.userIdentityStatus==2&& content.stopUserOrderCount)||0}}/{{ (content.userIdentityStatus==2 && content.needUserOrderCount)||0}}</text>
												</view>
												<view class="promax">
													<text>雇主数</text>
													<view class="progress" style="transform:translateX(72rpx)">
														<view v-if="content.userIdentityStatus==2"
															:style="{width:`${ 176/content.needTaskUserId*content.stopTaskUserId>176?176:(176/content.needTaskUserId*content.stopTaskUserId)}rpx`}">
														</view>
													</view>
													<text
														style="transform:translateX(76rpx)">{{ (content.userIdentityStatus==2&& content.stopTaskUserId)||0}}/{{( content.userIdentityStatus==2&&content.needTaskUserId)||0}}</text>
												</view>
												<view class="promax">
													<text>评分</text>
													<view class="progress" style="transform:translateX(100rpx)">
														<view v-if="content.userIdentityStatus==2"
															:style="{width:`${ 176/content.needUserScore*content.stopUserScore>176?176:176/content.needUserScore*content.stopUserScore}rpx`}">
														</view>
													</view>
													<text
														style="transform:translateX(100rpx)">{{ (content.userIdentityStatus==2&&content.stopUserScore)||0}}/{{(content.userIdentityStatus==2&& content.needUserScore)||0}}</text>
												</view>
											</view>
											<view :class="bannerList[2].isOk? 'status2':'status' " @click="navigatorto"
												class="finished">
												{{ bannerList.length==4&&(bannerList[2].isOk?'已完成':' 去完成')}}
											</view>
										</view>
									</view>
									<view class="swiperText" v-else>
										<view
											:style="{color:(curryIndex==0&&'#F5F5F5')||(curryIndex==1&&'#FED2AF')||(curryIndex==2&&'#DAA674')}">
											{{item.name}}
										</view>
										<view>
											<view>
												<view class="img"
													:style="{'background':`url(${item.img}) center center/cover no-repeat`,	}">
												</view>
											</view>
											<view>
												<text>{{item.title}}</text>
												<text>{{item.title2||'' }} </text>
											</view>
											<view v-if="curryIndex==0"
												:class="[((item.isOk&&[2,0].includes(i))&&'btn1_1')||((!item.isOk&&[2,0].includes(i))&&'btn1')||((item.isOk&&i==1)&&'btn1_1')||((!item.isOk&&i==1)&&'btn1')]"
												@click="toIndex(i,item.isOk,1)">
												{{((item.isOk&&[2,0].includes(i))&&'已完成')||((!item.isOk&&[2,0].includes(i))&&'未完成')||((item.isOk&&i==1)&&'已学习')||((!item.isOk&&i==1)&&'去学习')}}
											</view>
											<view v-if="curryIndex==1"
												:class="[((item.isOk&&[0].includes(i))&&'btn2')||((!item.isOk&&[0].includes(i))&&'btn2_1')||((item.isOk&&i==1)&&'btn2')||((!item.isOk&&i==1)&&'btn2_1')||((item.isOk&&i==2)&&'btn2')||((!item.isOk&&i==2)&&'btn2_1') ]"
												@click="toIndex(i,item.isOk,2)">
												{{((item.isOk&&[0].includes(i))&&'已学习')||((!item.isOk&&[0].includes(i))&&'去学习')||((item.isOk&&i==1)&&'已购买')||((!item.isOk&&i==1)&&'去购买')||((item.isOk&&i==2)&&'已完成')||((!item.isOk&&i==2)&&'未完成')}}
											</view>
											<view v-if="curryIndex==2"
												:class="[((item.isOk&&[0].includes(i))&&'btn3')||((!item.isOk&&[0].includes(i))&&'btn3_1')||((item.isOk&&i==1)&&'btn3')||((!item.isOk&&i==1)&&'btn3_1')]"
												@click="toIndex(i,item.isOk,3)">
												{{((item.isOk&&[0].includes(i))&&'已交付')||((!item.isOk&&[0].includes(i))&&'去交付')||((item.isOk&&i==1)&&'已学习')||((!item.isOk&&i==1)&&'去学习')}}
											</view>
										</view>
									</view>
								</view>
							</view>
						</view>
					</swiper-item>
				</swiper>
			</view>
		</view>
		<!-- 去学习 -->
		<studyVideo v-if='showGrow' @toClose='toClose' :isStydu='content.studyFlag' :video='video' :typeVide='typeVide'>
		</studyVideo>
	</view>
</template>
<script>
	import studyVideo from '../../../components/helpMosk/mosk.vue'
	import {
		mapMutations
	} from 'vuex'
	export default {
		components: {
			studyVideo,
		},
		props: {
			curryIndex: {
				type: Number,
				default: 0,
			},
			type: {
				type: Number,
				default: 0
			},
			resData: {
				type: Object,
				default () {
					return {}
				},
			},
			dataTime: {
				type: Number,
				default: 0
			},
			content: {
				type: Object,
				default () {
					return {}
				},
			},
			bannerList: {
				type: Array,
				default () {
					return []
				},
			},
			stupIndex: {
				type: Number,
				default: 0
			},
		},
		computed: {
			listLen() {
				return this.bannerList.length
			}
		},
		watch: {
			'stupIndex': {
				handler(n, o) {
					this.curCode = 0
				}
			}
		},
		data() {
			return {
				typeVide: 1,
				video: 'https://images.linglinggong.net/11%E6%9C%8822%E6%97%A5%E6%96%B0%E6%89%8B%E6%95%99%E5%AD%A6%E6%96%B0.mp4',
				showGrow: false,
				curCode: 0,
				swiperConfig: {
					autoplay: false,
					interval: 3000,
					duration: 300,
					circular: true,
					previousMargin: '20rpx',
					nextMargin: '20rpx'
				},
				curIndex: 0,
				descIndex: 0,
				isDescAnimating: false,
				isSuccess: false, //实名 完成状态 
				isThree: false, //是否完成3单
				height: '300rpx', //type=3 调整高度
				height2: '200rpx'
			}
		},
		methods: {
			...mapMutations(['lineHeight']),
			toZhifu() {
				uni.navigateTo({
					url: '/pages/syncAppNewPage/earnest/earnest'
				})
			},
			// 关闭 教学
			toClose(e) {
				this.$emit('refresh')
				this.showGrow = false
			},
			swiperChange(e) {
				// 切换状态
				let index = e.detail.current
				this.curCode = index
				// 金牌 高度改变
				if (this.curryIndex == 2 && index == 2) {
					this.height = '360rpx'
					this.height2 = '298rpx'
					this.lineHeight('90rpx')
				} else {
					this.lineHeight('30rpx')
				}
				this.$emit('toParent', index)
				const that = this
				this.curIndex = e.mp.detail.current
				this.isDescAnimating = true
				let timer = setTimeout(function() {
					that.descIndex = e.mp.detail.current
					clearTimeout(timer)
				}, 150)
			},
			animationfinish(e) {
				this.isDescAnimating = false
			},
			navigatorto() {
				uni.switchTab({
					url: "/pages/index/index"
				})
			},
			/* 
			 i 下标
			 e 是否完成
			 l 当前身份
			*/
			toIndex(i, e, l) {
				console.log(i, e, l, '去学习')
				// 试用
				if (l == 1) {
					if (i == 0) {
						// 实名
						uni.navigateTo({
							url: '/pages/real-name/real-name'
						})
					} else if (i == 1) {
						this.showGrow = true
						this.video =
							'https://images.linglinggong.net/%E8%AF%95%E7%94%A8%E6%A8%A1%E6%8B%9F%E6%95%99%E5%AD%A6%E8%A7%86%E9%A2%91_1.mp4'
						this.typeVide = 8
					} else if (i == 2) {
						uni.switchTab({
							url: "/pages/index/index"
						})
					}
				}
				// 正式
				if (l == 2) {
					if (i == 0) {
						this.video =
							'https://images.linglinggong.net/%E6%AD%A3%E5%BC%8F%E6%A8%A1%E6%8B%9F%E6%95%99%E5%AD%A6%E8%A7%86%E9%A2%91_1.mp4'
						this.typeVide = 2
						this.showGrow = true
					} else if (i == 1) {
						uni.navigateTo({
							url: '/pages/syncAppNewPage/buy-clothing/buy-clothing'
						})
					} else if (i == 2) {
						uni.switchTab({
							url: "/pages/index/index"
						})
					}
				}
				// 金牌
				if (l == 3) {
					if (i == 0) {
						uni.navigateTo({
							url: "/pages/syncAppNewPage/earnest/earnest"
						})
					} else if (i == 1) {
						this.showGrow = true
						this.video =
							'https://images.linglinggong.net/%E9%87%91%E7%89%8C%E6%A8%A1%E6%8B%9F%E6%95%99%E5%AD%A6%E8%A7%86%E9%A2%91.mp4'
						this.typeVide = 2
					} else if (i == 2) {
						uni.switchTab({
							url: "/pages/index/index"
						})
					}
				}
			}
		}
	}
</script>
<style lang="scss" scoped>
	.stup {
		width: 694rpx;
		height: 8rpx;
		background: rgba(189, 194, 204, 0.5);
		margin-top: 56rpx;
		display: flex;
		align-items: center;

		// 试用零工 状态
		.stupActive1 {
			width: 80rpx;
			height: 8rpx;
			background: rgba(255, 255, 255, 0.8);
			border-radius: 366rpx;
		}

		.stupActive1_1 {
			width: 270rpx;
			height: 8rpx;
			background: rgba(255, 255, 255, 0.8);
		}

		.stupActive1_2 {
			width: 320rpx;
			height: 8rpx;
			background: rgba(255, 255, 255, 0.8);
		}

		// 正式员工
		.stupActive2 {
			width: 80rpx;
			height: 8rpx;
			background: #FED2AF;
			border-radius: 366rpx;
		}

		.stupActive2_1 {
			width: 270rpx;
			height: 8rpx;
			background: #FED2AF;
		}

		.stupActive2_2 {
			width: 320rpx;
			height: 8rpx;
			background: #FED2AF;
		}

		// vip
		.stupActive3 {
			width: 82rpx;
			height: 8rpx;
			background: linear-gradient(318deg, #E48F49 0%, #FFE28F 100%);
		}

		.stupActive3_1 {
			width: 166rpx;
			height: 8rpx;
			background: linear-gradient(318deg, #E48F49 0%, #FFE28F 100%);
		}

		.stupActive3_2 {
			height: 8rpx;
			width: 195rpx;
			background: linear-gradient(318deg, #E48F49 0%, #FFE28F 100%);
		}

		.stupActive3_3 {
			height: 8rpx;
			width: 230rpx;
			background: linear-gradient(318deg, #E48F49 0%, #FFE28F 100%);
		}

		// b保留
		.baoliu1 {
			width: 400rpx;
			height: 8rpx;
			background: linear-gradient(318deg, #E48F49 0%, #FFE28F 100%);
		}

		.baoliu1_1 {
			width: 300rpx;
			height: 8rpx;
			background: linear-gradient(318deg, #E48F49 0%, #FFE28F 100%);
		}
	}

	.activeBg {
		width: 694rpx;
		display: flex;
		justify-content: space-between;

		&>view:nth-child(1) {
			margin-left: 60rpx;
		}

		// 默认样式
		.active1 {
			width: 40rpx;
			height: 46rpx;
			margin-top: -26rpx;
			margin-left: 40rpx;
		}

		// 未完成  试用零工 认证
		.activeLeft1 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/stup1.png') center center/100% no-repeat;
		}

		.activeLeft2 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/stup11.png') center center/100% no-repeat;
		}

		// 新手培训
		.activeCenter1 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/stup3_3.png') center center/100% no-repeat;
		}

		.activeCenter2 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/stup33.png') center center/100% no-repeat;
		}

		// 完成3单
		.activeRight1 {
			margin-left: 70rpx;
			background: #2C2C2E url('https://images.linglinggong.net/static/icon3/grow/stup2.png') center center/100% no-repeat;
		}

		.activeRight2 {
			margin-left: 70rpx;
			background: #2C2C2E url('https://images.linglinggong.net/static/icon3/grow/stup22.png') center center/100% no-repeat;
		}

		// 正式工样式  工装
		.formalLeft1 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/stup1_2.png') center center/100% no-repeat;
		}

		.formalLeft2 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/stup2_2.png') center center/100% no-repeat;
		}

		// 学习
		.formalCenter1 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/study2.png') center center/100% no-repeat;
		}

		.formalCenter2 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/study1.png') center center/100% no-repeat;
		}

		// 完成5单
		.formalRight1 {
			margin-left: 70rpx;
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/stup22.png') center center/100% no-repeat;
		}

		.formalRight2 {
			margin-left: 70rpx;
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/stup1_1.png') center center/100% no-repeat;
		}

		// vip  保证金
		.vipLeft1 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/vip1.png') center center/100% no-repeat;
		}

		.vipLeft2 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/vip1_1.png') center center/100% no-repeat;
		}

		// 学
		.vipXue1 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/vip3.png') center center/100% no-repeat;
		}

		.vipXue2 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/vip3_3.png') center center/100% no-repeat;
		}

		// 晋升任务3
		.vipLeJin1 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/vip4.png') center center/100% no-repeat;
		}

		.vipLeJin2 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/vip4_4.png') center center/100% no-repeat;
		}

		// 晋升周期
		.vipRight1 {
			margin-left: 70rpx;
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/vip2.png') center center/100% no-repeat;
		}

		.vipRight2 {
			margin-left: 70rpx;
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/vip2_2.png') center center/100% no-repeat;
		}

		// 保留
		.activeBaoliu1 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/vip1_1.png') center center/100% no-repeat;
			margin-left: 370rpx !important;
		}

		.activeBaoliu1_1 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/vip1.png') center center/100% no-repeat;
			margin-left: 370rpx !important;
		}

		.activeBaoliu2 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/qi1.png') center center/100% no-repeat;
		}

		.activeBaoliu2_2 {
			background: rgba(44, 44, 46, 1) url('https://images.linglinggong.net/static/icon3/grow/qi2.png') center center/100% no-repeat;
		}
	}

	.ban-cont {
		width: 100vw;
		height: 300rpx;

		.image-container {
			box-sizing: border-box;
			width: 100%;
			height: 100%;
			display: flex;

			.slide-image {
				width: 640rpx;
				height: 200rpx;
				z-index: 200;
			}
		}

		.item-left {
			justify-content: flex-end;
			padding: 66rpx 10rpx 0 20rpx;
		}

		.item-right {
			justify-content: flex-start;
			padding: 66rpx 0rpx 0 6rpx;
		}

		.item-center {
			justify-content: center;
			padding: 56rpx 0 0 0;
		}

		@keyframes descAnimation {
			0% {
				opacity: 1;
			}

			25% {
				opacity: .5;
			}

			50% {
				opacity: 0;
			}

			75% {
				opacity: .5;
			}

			100% {
				opacity: 1;
			}
		}

		.hideAndShowDesc {
			animation: descAnimation .3s ease 1;
		}

		.swiperText {
			width: 630rpx;
			height: 200rpx;
			background: #3A3A3A;
			box-shadow: 0rpx 6rpx 24rpx 2rpx rgba(32, 30, 30, 0.64), inset 1rpx 1rpx 0px 2rpx rgba(150, 153, 163, 0.48);
			border-radius: 16rpx;
			opacity: 1;
			border: 2rpx solid #9699A3;

			&>view:nth-child(1) {
				font-size: 32rpx;
				font-weight: 400;
				margin: 20rpx 0 34rpx 24rpx;
			}

			&>view:nth-child(2) {
				display: flex;
				align-items: center;

				&>view:nth-child(1) {
					margin-right: 30rpx;
					// display: flex;
					align-items: center;

					.img {
						margin-left: 24rpx;
						width: 70rpx;
						height: 70rpx;
						background-size: cover;
						background-repeat: no-repeat;
					}
				}

				&>view:nth-child(2) {
					display: flex;
					flex-direction: column;

					&>text:nth-child(1) {
						font-size: 28rpx;
						font-weight: 400;
						color: #FFFFFF;
						margin-bottom: 8rpx;
						height: 40rpx;
					}

					&>text:nth-child(2) {
						font-size: 20rpx;
						font-weight: 400;
						color: #FFFFFF;
						height: 40rpx;
					}
				}

				&>view:nth-child(3) {
					padding: 12rpx 30rpx;
					margin: 0 22rpx 0 auto;
				}

				.btn1 {
					background: linear-gradient(318deg, #9699A3 0%, #D8D9DC 100%);
					box-shadow: inset 1rpx 1rpx 0rpx 2rpx rgba(255, 255, 255, 0.69);
					border-radius: 28rpx;
					opacity: 1;
					border: 1rpx solid rgba(0, 0, 0, 0);
					font-size: 24rpx;
					font-weight: bold;
					color: #2C2C2E;
				}

				.btn1_1 {
					background: #6B6B6B;
					border-radius: 28px 28px 28px 28px;
					opacity: 1;
					border: 2px solid rgba(0, 0, 0, 0);
					color: #CFCFCF;
				}

				.btn2 {
					background: #6B6B6B;
					border-radius: 28px 28px 28px 28px;
					opacity: 1;
					border: 2px solid rgba(0, 0, 0, 0);
					color: #CFCFCF;
				}

				.btn2_1 {
					background: rgb(254, 210, 175);
					box-shadow: 0rpx 6rpx 24rpx 2rpx rgba(32, 30, 30, 0.64), inset 1rpx 1rpx 0rpx 2rpx rgba(254, 210, 175, 0.5);
					opacity: 1;
					border: 1rpx solid rgba(0, 0, 0, 0);
					font-size: 24rpx;
					font-weight: bold;
					color: #2C2C2E;
					border-radius: 28rpx;
				}

				.btn3 {
					background: #6B6B6B;
					border-radius: 28px 28px 28px 28px;
					opacity: 1;
					border: 2px solid rgba(0, 0, 0, 0);
					color: #CFCFCF;
				}

				.btn3_1 {
					background: #F0B569;
					box-shadow: 0px 6px 12rpx 2rpx rgba(0, 0, 0, 0.16);
					opacity: 1;
					border: 1rpx solid rgba(0, 0, 0, 0);
					font-size: 24rpx;
					font-weight: bold;
					color: #2C2C2E;
					border-radius: 28rpx;
				}
			}
		}
	}

	#pro {
		display: flex;
		flex-direction: column;
		align-items: flex-start !important;
		margin-top: -18rpx !important;
		margin-left: 24rpx;

		&>view:nth-child(1) {
			display: flex;
			margin-top: 16rpx;
			font-size: 20rpx;
			align-items: baseline;

			&>text:nth-child(1) {
				color: #FFFFFF;
				width: 132rpx;
			}

			&>view:nth-child(2) {
				width: 176rpx;
				height: 8rpx;
				background: #292A2A;
				border-radius: 376rpx;
				opacity: 1;
				margin-right: 16rpx;

				&>view {
					background: #DAA674;
					border-radius: 376rpx;
					transition: width linear 0.5s;
					height: 8rpx;
				}
			}

			&>text:nth-child(3) {
				color: #FFFFFF;
			}
		}

		&>view:nth-child(2) {
			margin-top: 16rpx;
			display: flex;
			flex-direction: initial;
			font-size: 20rpx;
			align-items: baseline;

			&>text:nth-child(1) {
				color: #FFFFFF;
				width: 132rpx;
			}

			&>view:nth-child(2) {
				width: 176rpx;
				height: 8rpx;
				background: #292A2A;
				border-radius: 376rpx;
				opacity: 1;
				margin-right: 16rpx;

				&>view {
					background: #DAA674;
					border-radius: 376rpx;
					height: 8rpx;
					transition: width linear 0.5s;
				}
			}

			&>text:nth-child(3) {
				color: #FFFFFF;
			}
		}

		&>view:nth-child(3) {
			display: flex;
			flex-direction: initial;
			margin: 0;
			padding: 0;
			margin-top: 16rpx;
			align-items: baseline;
			font-size: 20rpx;

			&>text:nth-child(1) {
				color: #FFFFFF;
				width: 132rpx;
			}

			&>view:nth-child(2) {
				width: 176rpx;
				height: 8rpx;
				background: #292A2A;
				border-radius: 376rpx;
				opacity: 1;
				margin-right: 16rpx;

				&>view {
					background: #DAA674;
					border-radius: 376px;
					transition: width linear 0.5s;
					height: 8rpx;
				}
			}

			&>text:nth-child(3) {
				color: #FFFFFF;
			}
		}

		&>view:nth-child(4) {
			font-size: 20rpx;
			display: flex;
			flex-direction: initial;
			margin-top: 16rpx;
			align-items: baseline;

			&>text:nth-child(1) {
				color: #FFFFFF;
				width: 132rpx;
			}

			&>view:nth-child(2) {
				width: 176rpx;
				height: 8rpx;
				background: #292A2A;
				border-radius: 376rpx;
				opacity: 1;
				margin-right: 16rpx;

				&>view {
					background: #DAA674;
					border-radius: 376rpx;
					transition: width linear 0.5s;
					height: 8rpx;
				}
			}

			&>text:nth-child(3) {
				color: #FFFFFF;
			}
		}
	}

	.status {
		width: 132rpx;
		height: 56rpx;
		background: #F0B569;
		box-shadow: 0px 6px 12rpx 2rpx rgba(0, 0, 0, 0.16);
		border-radius: 78rpx;
		opacity: 1;
		font-size: 24rpx;
		color: #1A1B1B;
		text-align: center;
		line-height: 2.33;
		margin-right: 10rpx;
		transform: translateX(20rpx)
	}

	.status2 {
		width: 132rpx;
		height: 56rpx;
		background: #6B6B6B;
		border-radius: 28px 28px 28px 28px;
		opacity: 1;
		border: 2px solid rgba(0, 0, 0, 0);
		color: #CFCFCF;
		font-size: 24rpx;
		text-align: center;
		line-height: 2.33;
		margin-right: 24rpx;
	}

	.progress {
		width: 224rpx;
		height: 8rpx;
		background: #292A2A;
		border-radius: 376rpx;
		opacity: 1;
		margin-top: 22rpx;

		&>view {
			height: 8rpx;
			background: #DAA674;
			border-radius: 376rpx;
		}
	}

	.zoom {
		transform: scale(1.2);
		transition: transform linear 0.3s;
	}

	.more {
		display: flex;
	}

	.promax {
		display: flex;
		flex: auto;

		>text {
			margin-left: 30rpx;
			color: #fff
		}
	}

	.progress {
		width: 180rpx;
	}
</style>